ScxV6Object.PropertyOverride Method

Gets or sets a template property override.

Parameters

Returns

True if the property is overidden,False otherwise.

Remarks

Property overrides are used in templates to allow the value of selected properties to be set at the instance and not at the template.

The PropertyOverride method allows external programs to read and write property overrides on a template.

Calling PropertyOverride on a non-template object will generate an error.

Example:

The following example written in VB.NET shows how to set property overrides.

Note: The code fragment assumes that the template "PointTemplate", and point "PointTemplate.Point" already exist in the database.

Dim Obj As ScxV6DbClient.ScxV6Object

Dim TemplateObj As ScxV6DbClient.ScxV6Object

' Find the objects

Obj = Svr.FindObject("PointTemplate")

TemplateObj = Svr.FindObject("PointTemplate.Point")

' Allow point in instance to have a different scale

Obj.PropertyOverride( TemplateObj.ID, "FullScale" ) = True

Obj.PropertyOverride( TemplateObj.ID, "ZeroScale" ) = True


Disclaimer

Geo SCADA Expert 2020